<script setup lang="ts">
defineProps<{
  title: string;
}>();
</script>

<template>
  <div class="title">
    {{ title }}
    <div class="bg"></div>
  </div>
</template>

<style scoped lang="scss">
.title {
  color: #fff;
  font-size: 16px;
  .bg {
    margin-top: 6px;
    content: '';
    width: 68px;
    height: 7px;
    background: url(../images/dataScreen-title.png) no-repeat;
  }
}
</style>
